package com.base.service.impl;

import com.base.mapper.voipmapper.ReplacementBankMapper;
import com.base.po.replacement.ReplacementBank;
import com.base.po.replacement.ReplacementBankExample;
import com.base.service.ReplacementBankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementBankService")
public class ReplacementBankServiceImpl implements ReplacementBankService {
	
	@Autowired
	private ReplacementBankMapper replacementBankMapper;

	@Override
	public int countByExample(ReplacementBankExample example) {
		return replacementBankMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementBankExample example) {
		return replacementBankMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		return replacementBankMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementBank record) {
		return replacementBankMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementBank record) {
		return replacementBankMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementBank> selectByExample(ReplacementBankExample example) {
		return replacementBankMapper.selectByExample(example);
	}

	@Override
	public ReplacementBank selectByPrimaryKey(Integer id) {
		return replacementBankMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementBank selectByBankAbbr(String bankabbr) {
		return replacementBankMapper.selectByBankAbbr(bankabbr);
	}

	@Override
	public int updateByExampleSelective(ReplacementBank record, ReplacementBankExample example) {
		return replacementBankMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementBank record, ReplacementBankExample example) {
		return replacementBankMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementBank record) {
		return replacementBankMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementBank record) {
		return replacementBankMapper.updateByPrimaryKey(record);
	}
}
